{% extends "base.html" %}
{% load i18n %}

{% block content %}
<h1>{% trans "Poem list" %}</h1>
<p>
	{% blocktrans count poems|length as poem_count %}
	  There is one poem.
	{% plural %}
	  There are {{ poem_count }} poems.
	{% endblocktrans %}
</p>
{% for poem in poems %}
<h3>{{ poem.author }}: {{ poem.title }} ({{ poem.year_of_publication }})</h3>
<p>{{ poem.text }}</p>
{% endfor %}
{% endblock %}
